import 'package:boss/ui/page/staffGratuity/page/staffGratuityPage/staff_gratuity_page.dart';
import 'package:boss/ui/widget/center_title_app_bar.dart';
import 'package:flutter/material.dart';
import 'package:hi_common/hi_common.dart';
import 'package:router/annotation.dart';

@RouterConfig(GratuityPage.pageName)
class GratuityPage extends StatefulWidget {
  static const pageName = '/gratuityPage';

  @override
  GratuityPageState createState() => GratuityPageState("小费设置");

  GratuityPage({Key key}) : super(key: key);
}

class GratuityPageState extends BaseState<GratuityPage> {
  GratuityPageState(String pageName) : super(pageName);

  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      child: Scaffold(
        appBar: CenterTitleAppBar(
          title: '小费设置',
          actions: <Widget>[],
        ),
        body: StaffGratuityPage(),
      ),
    );
  }
}
